﻿using Server.Contract;
using Server.Core.Service;
using Server.Dto;
using System.Collections.Generic;

namespace Server.Core.Contract
{
    /// <summary>
    /// update service implemention
    /// </summary>
    public partial class ServerService : IUpdateService
    {
        private readonly BusinessService _businessService;

        public ServerService()
        {
            _businessService = new BusinessService();
        }

        public List<ProductDto> GetProducts(string name)
        {
            return _businessService.GetProducts(name);
        }
    }
}
